<!-- 掌上体检 Banners详细信息页面 -->
<template>
    <div id="bannersdetail">
        <table class="table table-bordered">
            <tr>
                <td v-html="banner.Description" class="title"></td>
            </tr>
            <tr>
                <td v-html="banner.CreateDate"></td>
            </tr>
            <tr>
                <td v-html="banner.SimpleContent"></td>
            </tr>
        </table>
    </div>
</template>

<script>
    import vm from './bannersdetailViewModel'

    import './bannersdetail.css'

    export default {
        data(){
            var result = {
                banner: vm.banner
            };
			vm.getBannerById(43, function(data){
                Object.assign(result, data);
            });
			return result;
		}
    }
</script>
